package com.example.demo.feign.impl;

import org.springframework.stereotype.Component;

import com.example.demo.entity.User;
import com.example.demo.feign.UserFeignClient;

@Component
public class UserFeignClientImpl implements UserFeignClient {

	@Override
	public User getUserById(Long id) {
		User user = new User();
		user.setId(0L);
		return user;
	}

}
